﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OrderDownLoad.aspx.cs" Inherits="PlugNT.App.Shop.Web.OrderDownLoad" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>评论列表</title>
<link href="../css/control.css" rel="stylesheet" type="text/css" media="all" />
<script src="../js/jquery-1.3.2.min.js" type="text/javascript"></script>
<script type="text/javascript" language="javascript">
    $(function () {
        $("#iptSearch").click(function () {
            var keyword = $("#keyword").val();
            var isexact = $("#isexact").attr("checked") ? "1" : "0";
            var islocked = $("#islocked").attr("checked") ? "1" : "0";
            document.location.href = "?keyword=" + keyword + "&isexact=" + isexact + "&islocked=" + islocked;
        });
        $("#chkAll").click(function () {
            $("span.ck_ID_list input").attr("checked", ($(this).attr("checked")==true));
        });
    });
    function IsNumber(str) {
        if (/^\d+$/.test(str)) { return true; } else { return false; }
    }
</script>
</head>
<body>

<div class="frmstatic" style="display:block;">
    <span class="frmbar" style="margin:0 12px;"></span><span class="frmbar" style="margin:0 11px;"></span>
    <div class="nav_menu">
        <table cellspacing="0" cellpadding="0" border="0" width="100%">
          <tr>
            <td align="left">
                <table>
                    <tr>
                        <td><img src="../images/main_home.gif" width="16" height="16" /></td>
                        <td><label>插件&nbsp;&gt;&nbsp;商城管理&nbsp;&gt;&nbsp;订单下载</label></td>
                    </tr>
                </table>
            </td>
            <td align="right">
                <table>
                    <tr>
                        <td><img src="../images/arrow_left.png" width="16" height="16" /></td>
                        <td><label><a href="./Config.aspx">商城设置</a></label> | </td>
                        <td><label><a href="./OrderList.aspx">订单列表</a></label> | </td>
                        <td><label><a href="./OrderDownLoad.aspx">订单下载</a></label> | </td>
                        <td><label><a href="../Article/Admin.aspx">商品管理</a></label> | </td>
                        <td><label><a href="javascript:window.history.back();" class="sub_menu">返回</a></label></td>
                    </tr>
                </table>
            </td>
          </tr>
        </table>
    </div>
    <span class="frmbar" style="margin:0 11px;"></span><span class="frmbar" style="margin:0 12px;"></span>
</div>

    
<div class="frmstatic" style="display:block; margin-top:10px;">
<form id="form1" runat="server">
<span class="frmbar" style="margin:0 12px;"></span><span class="frmbar" style="margin:0 11px;"></span>
<div class="controls">
          

             <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#DDE9FF" id="add_table">
                  <tr>
                    <td height="3" style="background-color:#DDE9FF;"></td>
                  </tr>
                  
                  <tr>
                    <td width="145px;" align="right" nowrap bgcolor="#F4FBFF">收款状态： &nbsp;</td>
                    <td width="91%" bgcolor="#F4FBFF">
                        <asp:DropDownList ID="ddlPState" runat="server" Width="100">
                            <asp:ListItem Text="全部" Value="-1"></asp:ListItem>
                            <asp:ListItem Text="未付款" Value="0"></asp:ListItem>                
                            <asp:ListItem Text="已付款" Value="1"></asp:ListItem>
                            <asp:ListItem Text="部分付款" Value="2"></asp:ListItem>
                            <asp:ListItem Text="已退款" Value="3"></asp:ListItem>
                            <asp:ListItem Text="部分退款" Value="4"></asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td align="center" valign="middle" nowrap bgcolor="#F4FBFF" width="35" title="收款状态">
                      &nbsp;
                    </td>
                  </tr>
                  
                  <tr>
                    <td width="145px;" align="right" nowrap bgcolor="#F4FBFF">发货状态： &nbsp;</td>
                    <td width="91%" bgcolor="#F4FBFF">
                        <asp:DropDownList ID="ddlGState" runat="server" Width="100">
                            <asp:ListItem Text="全部" Value="-1"></asp:ListItem>
                            <asp:ListItem Text="未发货" Value="0"></asp:ListItem>                
                            <asp:ListItem Text="已发货" Value="1"></asp:ListItem>
                            <asp:ListItem Text="已退货" Value="2"></asp:ListItem>
                            <asp:ListItem Text="无需配送" Value="3"></asp:ListItem>
                        </asp:DropDownList>            
                    </td>
                    <td align="center" valign="middle" nowrap bgcolor="#F4FBFF" width="35" title="发货状态">
                      &nbsp;
                    </td>
                  </tr>
                  
                  <tr>
                    <td width="145px;" align="right" nowrap bgcolor="#F4FBFF">申请状态： &nbsp;</td>
                    <td width="91%" bgcolor="#F4FBFF">
                        <asp:DropDownList ID="ddlEState" runat="server" Width="100">
                            <asp:ListItem Text="全部" Value="-1"></asp:ListItem>
                            <asp:ListItem Text="正常状态" Value="0"></asp:ListItem>                
                            <asp:ListItem Text="申请退款" Value="1"></asp:ListItem>
                            <asp:ListItem Text="申请退货" Value="2"></asp:ListItem>
                        </asp:DropDownList> 
                    </td>
                    <td align="center" valign="middle" nowrap bgcolor="#F4FBFF" width="35" title="申请状态">
                      &nbsp;
                    </td>
                  </tr>  
                  
                  <tr>
                    <td width="145px;" align="right" nowrap bgcolor="#F4FBFF">订单状态： &nbsp;</td>
                    <td width="91%" bgcolor="#F4FBFF">
                        <asp:DropDownList ID="ddlOState" runat="server" Width="100">
                            <asp:ListItem Text="全部" Value="-1"></asp:ListItem>
                            <asp:ListItem Text="未确认" Value="0"></asp:ListItem>                
                            <asp:ListItem Text="已完成" Value="1"></asp:ListItem>
                            <asp:ListItem Text="已作废" Value="2"></asp:ListItem>
                        </asp:DropDownList> 
                    </td>
                    <td align="center" valign="middle" nowrap bgcolor="#F4FBFF" width="35" title="订单状态">
                      &nbsp;
                    </td>
                  </tr>   
                     
                  <tr>
                    <td width="145px;" align="right" nowrap bgcolor="#F4FBFF">支付渠道： &nbsp;</td>
                    <td width="91%" bgcolor="#F4FBFF">
                        <asp:DropDownList ID="ddlPayonlie" runat="server" Width="100">
                        </asp:DropDownList> 
                    </td>
                    <td align="center" valign="middle" nowrap bgcolor="#F4FBFF" width="35" title="支付渠道">
                      &nbsp;
                    </td>
                  </tr>                    
                       
                  <tr>
                    <td width="145px;" align="right" nowrap bgcolor="#F4FBFF">配送渠道： &nbsp;</td>
                    <td width="91%" bgcolor="#F4FBFF">
                        <asp:DropDownList ID="ddlDelivery" runat="server" Width="100">
                        </asp:DropDownList> 
                    </td>
                    <td align="center" valign="middle" nowrap bgcolor="#F4FBFF" width="35" title="配送渠道">
                      &nbsp;
                    </td>
                  </tr>   

                  <tr>
                    <td width="145px;" align="right" nowrap bgcolor="#F4FBFF">订单类型： &nbsp;</td>
                    <td width="91%" bgcolor="#F4FBFF">
                        <asp:DropDownList ID="ddlOnline" runat="server" Width="100">
                            <asp:ListItem Text="全部" Value="-1"></asp:ListItem>
                            <asp:ListItem Text="线下" Value="0"></asp:ListItem>                
                            <asp:ListItem Text="线上" Value="1"></asp:ListItem>
                        </asp:DropDownList> 
                    </td>
                    <td align="center" valign="middle" nowrap bgcolor="#F4FBFF" width="35" title="订单类型">
                      &nbsp;
                    </td>
                  </tr>   

                  <tr>
                    <td width="145px;" align="right" nowrap bgcolor="#F4FBFF">查询天数： &nbsp;</td>
                    <td width="91%" bgcolor="#F4FBFF">
                        <asp:TextBox ID="txtDays" runat="server" CssClass="input" Width="100" Text="-1"></asp:TextBox>
                        天前
                    </td>
                    <td align="center" valign="middle" nowrap bgcolor="#F4FBFF" width="35" title="日期天数">
                      &nbsp;
                    </td>
                  </tr>   
                  
                  <tr>
                    <td width="145px;" align="right" nowrap bgcolor="#F4FBFF"> &nbsp;</td>
                    <td align="left" nowrap bgcolor="#F4FBFF" >
                        <asp:HiddenField ID="hidTopCount" Value="1000" runat="server" />
                        <asp:Button BackColor="#F4FBFF" CssClass="bt" ID="btnSearch"  runat="server" 
                            Text=" 查询 " onclick="btnSearch_Click" />&nbsp;&nbsp;
                        <asp:Button BackColor="#F4FBFF" CssClass="bt" ID="btnDownloadExcel"  
                            runat="server" Enabled="false"
                            Text="保存为Excel文档" onclick="btnDownloadExcel_Click" />&nbsp;&nbsp;
                        <asp:Button BackColor="#F4FBFF" CssClass="bt" ID="btnDownloadXml"  
                            runat="server" Enabled="false"
                            Text="保存为Xml文档" onclick="btnDownloadXml_Click" />
                        <br />
                        <font color="red"><asp:Literal ID="litMessager" runat="server"></asp:Literal></font>
                    </td>
                    <td bgcolor="#F4FBFF"></td>
                  </tr>
                  
                </table>
            

 

</div>
<span class="frmbar" style="margin:0 11px;"></span><span class="frmbar" style="margin:0 12px;"></span>
</form>
</div>

</body>
</html>